<script>
	import { mapGetters } from 'vuex'
	import { getTerminal } from '@/utils/tool.js'
	export default {
		computed: {
			...mapGetters(['hasLogin']),
		},
		onLaunch() {
			this.$store.dispatch('init')
			if (this.hasLogin) this.$store.dispatch('getUserinfo')
			this.$store.dispatch('getCategoryList')
		}
	}
</script>

<style lang="scss">
	@import "uni_modules/uni-scss/index.scss";
	@import 'styles/index.scss';

	page {
		height: 100%;
		line-height: 1;
	}

	::-webkit-scrollbar {
		width: 0;
		height: 0;
		background-color: transparent;
	}
</style>